<?php

namespace IDock\Insurance\DAJIA\Request;

use IDock\Insurance\DAJIA\Response\CommonResponse;
use IDock\Insurance\DAJIA\Response\InsuranceOrderQueryResponse;
use IDock\Insurance\DAJIA\Response\PreInquiryResponse;

/**
 * 查询保单接口
 */
class BusinessOrderNoQueryRequest extends AllDAJIARequest
{
    protected $code = 'ODR1007';

    protected $response = PreInquiryResponse::class;

    protected $urlTip = '获取业务订单号';

    protected $busiOpdpt = '';

    protected $busiOprCde = '';

    protected $vhlType = '';

    public function generate(): array
    {
        return [
            'businessInfo' => [
                'busiId' => uniqid(),
                'busiOpdpt' => $this->busiOpdpt,
                'busiOprCde' => $this->busiOprCde,
            ],
            'vhlType' => $this->vhlType,
        ];
    }

    /**
     * @param string $busiOpdpt
     */
    public function setBusiOpdpt(string $busiOpdpt): void
    {
        $this->busiOpdpt = $busiOpdpt;
    }

    /**
     * @param string $busiOprCde
     */
    public function setBusiOprCde(string $busiOprCde): void
    {
        $this->busiOprCde = $busiOprCde;
    }

    /**
     * @param string $vhlType
     */
    public function setVhlType(string $vhlType): void
    {
        $this->vhlType = $vhlType;
    }







}